/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved.
 * Description: fsl_fman driver Vendor Hooks
 */

#ifdef CONFIG_NETBIOS_FSL_FMAN_SPEC

#ifndef FSL_FMAN_EXT_H
#define FSL_FMAN_EXT_H
#include "fman.h"
int trace_fman_load_ctrl_ucode(struct fman *fman);
void trace_dpaa_fman_port_load(int *ret);
void trace_dpaa_fman_port_unload(void);
#endif

#else

struct fman;

static inline int trace_fman_load_ctrl_ucode(struct fman *fman)
{
	return 0;
}

static inline void trace_dpaa_fman_port_load(int *ret)
{
}

static inline void trace_dpaa_fman_port_unload(void)
{
}

#endif
